#pragma once

#include "Command.hpp"

class SimpleRemoteControl
{
   private:
    Command *slot;

   public:
    void setCommand(Command *command)
    {
        slot = command;
    }

    void buttonWasPressed()
    {
        slot->execute();
    }
};